package com.abigdreamer.im.server.ui.desktop;

public class ItemConfig {

	private String itemClass;
	private String itemIconPath;
	private String itemText;
	private String itemToolTipText;
	private DeskFrameConfig  frameConfig;
	
	public String getItemClass() {
		return itemClass;
	}
	public void setItemClass(String itemClass) {
		this.itemClass = itemClass;
	}
	public String getItemIconPath() {
		return itemIconPath;
	}
	public void setItemIconPath(String itemIconPath) {
		this.itemIconPath = itemIconPath;
	}
	public String getItemText() {
		return itemText;
	}
	public void setItemText(String itemText) {
		this.itemText = itemText;
	}
	public String getItemToolTipText() {
		return itemToolTipText;
	}
	public void setItemToolTipText(String itemToolTipText) {
		this.itemToolTipText = itemToolTipText;
	}
	public DeskFrameConfig getFrameConfig() {
		return frameConfig;
	}
	public void setFrameConfig(DeskFrameConfig frameConfig) {
		this.frameConfig = frameConfig;
	}
	
	public boolean equals(Object obj) {
		boolean re=false;
		if(obj instanceof ItemConfig){
			ItemConfig config=(ItemConfig)obj;
			if(config.getItemText()==this.getItemText()){
				re=true;
			}
		}
		return re;
	}
}
